﻿@inherits FoodNodeBase

<ul class="s-food s-food-day" @ref="FoodDayElement">
    @foreach (var day in Items)
    {
        <li class="food-item">
            <div class="food-header" @onclick="() => Toggle(IndexOf(day), day)">
                <i class="@GetCaretClassString(day)"></i>
                <span class="food-text">@day.Name</span>
            </div>
            <FoodTime Items="day.Nodes" />
        </li>
    }
</ul>
